namespace Cik.Gapi4Net.Domain.Output.PatentSearch
{
    using System;
    using Contract;
    using Core.Json;
    using Newtonsoft.Json;

    [JsonObject]
    public class MainResult : IMainResult
    {
        [JsonProperty("GsearchResultClass")]
        public string GsearchResultClass { get; set; }

        [JsonProperty("applicationDate")]
        [JsonConverter(typeof(Rfc822DateTimeConverter))]
        public DateTime ApplicationDate { get; set; }

        [JsonProperty("assignee")]
        public string Assignee { get; set; }

        [JsonProperty("content")]
        public string Content { get; set; }

        [JsonProperty("patentNumber")]
        public string PatentNumber { get; set; }

        [JsonProperty("patentStatus")]
        public string PatentStatus { get; set; }

        [JsonProperty("tbUrl")]
        public string TbUrl { get; set; }

        [JsonProperty("title")]
        public string Title { get; set; }

        [JsonProperty("titleNoFormatting")]
        public string TitleNoFormatting { get; set; }

        [JsonProperty("unescapedUrl")]
        public string UnescapedUrl { get; set; }

        [JsonProperty("url")]
        public string Url { get; set; }
    }
}